<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user.user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_no" data-rule="required" class="form-control" name="row[id_no]" type="text" value="{$row.id_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Car_color')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-car_color" data-rule="required" class="form-control" name="row[car_color]" type="text" value="{$row.car_color}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('车辆型号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-car_model" data-rule="required" class="form-control" name="row[car_model]" type="text" value="{$row.car_model}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Car_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-car_no" data-rule="required" class="form-control" name="row[car_no]" type="text" value="{$row.car_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-driver_license_front" class="control-label col-xs-12 col-sm-2">{:__('Driver_license_front')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-driver_license_front" data-rule="" class="form-control" size="50" name="row[driver_license_front]" type="text" value="{$row.driver_license_front}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-driver_license_front" class="btn btn-danger plupload" data-input-id="c-driver_license_front" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-driver_license_front"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-driver_license_front" class="btn btn-primary fachoose" data-input-id="c-driver_license_front" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-driver_license_front"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-driver_license_front"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-driver_license_back" class="control-label col-xs-12 col-sm-2">{:__('Driver_license_back')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-driver_license_back" data-rule="" class="form-control" size="50" name="row[driver_license_back]" type="text" value="{$row.driver_license_back}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-driver_license_back" class="btn btn-danger plupload" data-input-id="c-driver_license_back" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-driver_license_back"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-driver_license_back" class="btn btn-primary fachoose" data-input-id="c-driver_license_back" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-driver_license_back"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-driver_license_back"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-car_license_front" class="control-label col-xs-12 col-sm-2">{:__('Car_license_front')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-car_license_front" data-rule="" class="form-control" size="50" name="row[car_license_front]" type="text" value="{$row.car_license_front}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-car_license_front" class="btn btn-danger plupload" data-input-id="c-car_license_front" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-car_license_front"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-car_license_front" class="btn btn-primary fachoose" data-input-id="c-car_license_front" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-car_license_front"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-car_license_front"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-car_license_back" class="control-label col-xs-12 col-sm-2">{:__('Car_license_back')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-car_license_back" data-rule="" class="form-control" size="50" name="row[car_license_back]" type="text" value="{$row.car_license_back}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-car_license_back" class="btn btn-danger plupload" data-input-id="c-car_license_back" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-car_license_back"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-car_license_back" class="btn btn-primary fachoose" data-input-id="c-car_license_back" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-car_license_back"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-car_license_back"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-car_img_front" class="control-label col-xs-12 col-sm-2">{:__('Car_img_front')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-car_img_front" data-rule="" class="form-control" size="50" name="row[car_img_front]" type="text" value="{$row.car_img_front}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-car_img_front" class="btn btn-danger plupload" data-input-id="c-car_img_front" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-car_img_front"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-car_img_front" class="btn btn-primary fachoose" data-input-id="c-car_img_front" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-car_img_front"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-car_img_front"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-car_img_inside" class="control-label col-xs-12 col-sm-2">{:__('Car_img_inside')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-car_img_inside" data-rule="" class="form-control" size="50" name="row[car_img_inside]" type="text" value="{$row.car_img_inside}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-car_img_inside" class="btn btn-danger plupload" data-input-id="c-car_img_inside" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-car_img_inside"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-car_img_inside" class="btn btn-primary fachoose" data-input-id="c-car_img_inside" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-car_img_inside"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-car_img_inside"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-online_drive_license" class="control-label col-xs-12 col-sm-2">{:__('Online_drive_license')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-online_drive_license" data-rule="" class="form-control" size="50" name="row[online_drive_license]" type="text" value="{$row.online_drive_license}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-online_drive_license" class="btn btn-danger plupload" data-input-id="c-online_drive_license" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-online_drive_license"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-online_drive_license" class="btn btn-primary fachoose" data-input-id="c-online_drive_license" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-online_drive_license"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-online_drive_license"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-online_transport_license" class="control-label col-xs-12 col-sm-2">{:__('Online_transport_license')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-online_transport_license" data-rule="" class="form-control" size="50" name="row[online_transport_license]" type="text" value="{$row.online_transport_license}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-online_transport_license" class="btn btn-danger plupload" data-input-id="c-online_transport_license" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-online_transport_license"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-online_transport_license" class="btn btn-primary fachoose" data-input-id="c-online_transport_license" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-online_transport_license"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-online_transport_license"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}" disabled>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}" disabled>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
